package com.cheng.generator.controller;

import com.cheng.generator.entity.AccountUser;
import com.cheng.generator.service.AccountUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 账户用户信息表 前端控制器
 * </p>
 *
 * @author 山水一程
 * @since 2022-08-11
 */
@RestController
@RequestMapping("/generator/account-user")
public class AccountUserController {

    @Resource
    private AccountUserService accountUserService;

    @GetMapping(value = "/query/AccountUserList")
    private List<AccountUser> queryAccountUserList(){
        return accountUserService.list();
    }


}
